import { IIndexViewModel } from "@/core/interface/view/model";
function getConfig():IIndexViewModel {
    return {
        {{> @macro/view/view-model.hbs page=page}}
        {{#if page.psSysImage}}
        {{#if page.psSysImage.imagePath}}viewImgPath="{{page.psSysImage.imagePath}}"{{else if page.psSysImage.cssClass}}viewIconClass:"{{page.psSysImage.cssClass}}"{{/if}},
        {{/if}}
        mainMenuAlign: '{{#if page.mainMenuAlign}}{{page.mainMenuAlign}}{{else}}LEFT{{/if}}',
        appIconPath: '{{page.appIconPath}}',
        blankMode: {{page.blankMode}},
        defaultPage: {{page.defaultPage}},
        {{#if page.defPSAppView}}
        defPSAppView: '{{page.defPSAppView.codeName}}',
        {{/if}}
    }
}

export const model = getConfig()